{% extends "base_generic.html" %}

{% block content %}
  <div class="card">
    <div class="card-header bg-primary text-white">
      <h4 class="mb-0"><i class="fas fa-key me-2"></i>重置密码</h4>
    </div>
    <div class="card-body">
      <p>请输入您的邮箱地址，我们将向您发送一封密码重置邮件。</p>
      <form method="post">
        {% csrf_token %}
        <div class="mb-3">
          <label for="id_email" class="form-label">电子邮件</label>
          <input type="email" name="email" id="id_email" class="form-control" required>
        </div>
        <div class="d-grid gap-2">
          <button type="submit" class="btn btn-primary">发送重置邮件</button>
        </div>
      </form>
    </div>
  </div>
{% endblock %} 